import {
  get,
  post
} from '@/api/common/http/http'

//查看我的订单
export function get_order(params) {
  return get('/order/get_order', params)
}

//查看签约信息
export function get_contract(params) {
  return get('/order/get_contract', params)
}

//新增订单
export function add_order(params) {
  return post('/order/add_order', params)
}

//修改订单状态
export function upd_order_state(params) {
  return post('/order/upd_order_state', params)
}

//签约
export function sign_contract(params) {
  return post('/order/sign_contract', params)
}